import c_Array from './c_Array'
import c_Date from './c_Date'
import c_Document from './c_Document'
import c_DOMRect from './c_DOMRect'
import c_Function from './c_Function'
import c_Map from './c_Map'
import util from './util'

/**
 * ESUtil覆盖原生方法工具
 * @type notype
 */
export default class ESUtil {
    /**
     * 初始化函数，自动调用，调用此方法无任何效果
     * @returns
     */
    static init() {
        c_Document.document()
        util.classSetToProperty(c_Array.prototype, 'Array')
        util.classSetToProperty(c_Date, 'Date')
        util.classSetToProperty(c_Function, 'Function')
        util.classSetToProperty(c_DOMRect, 'DOMRect')
        util.classSetToProperty(c_Map, 'Map')
    }
}
